<include file="Public/min-header"/>
<div class="wrapper">
    <include file="Public/breadcrumb"/>
    <section class="content">
        <div class="row">
            <div class="col-sm-12">
                <div class="box">
                    <div class="box-header">
                        <h3 class="box-title">增加奖品</h3>
                        <div class="pull-right">
                            <a href="{:U('Lottery/configList')}" data-toggle="tooltip" title="" class="btn btn-default" data-original-title="返回"><i class="fa fa-reply"></i></a>
                        </div>
                    </div>

                    <!-- /.box-header -->
                    <form action="{:U('Lottery/addConfig')}" method="post" enctype="multipart/form-data" class="form-horizontal">
                        <div class="box-body">
                            <input type="hidden" name="prize_id" value="{$configData.id}">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">配置名称</label>
                                <div class="col-sm-6">
                                    <input type="text" placeholder="名称" class="form-control large" name="name" value="{$configData.name}">
                                    <span class="help-inline" style="color:#F00; display:none;" id="err_name"></span>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="control-label col-sm-2">配置值</label>
                                <div class="col-sm-6">
                                    <input type="text" placeholder="手机分类名称" class="form-control large" name="value" value="{$configData.value}">
                                    <span class="help-inline" style="color:#F00; display:none;" id="err_mobile_name"></span>
                                </div>
                            </div>
                        </div>
                        <div class="box-footer">
                            <!--<input type="hidden" name="id" value="{$goods_category_info.id}">-->
                            <button type="reset" class="btn btn-primary pull-left"><i class="icon-ok"></i>重填  </button>
                            <button type="submit" class="btn btn-primary pull-right"><i class="icon-ok"></i>提交  </button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </section>
</div>
<script>

</script>

</body>
</html>